﻿
--[[

		$title:			Natur Enemy Castbar
		$author:		Michael Boyle (Softrix)
		$email:			michael.boyle@softrix.co.uk
		$website:		www.softrix.co.uk
		
		$credits:		This Natur Enemy Castbar is a complete rewrite based on the 
						excellent discontinued addon by Naturfreund.
																		
						A big thank you goes to Krycek for his additional work on the 
						spells which left me to concentrate on the addon programming 
						side bringing you more features and quicker bug tracking  =D
						
						Krycek's Wowinterface profile and contact information can be 
						found on wowinterface.com's website at:
						
						http://www.wowinterface.com/forums/member.php?userid=33413
						
						Credits also go to Shadowed who is the author of the GTB bar 
						library which I	have modified for this addon.  The original 
						unmodified GTB library for the purpose of these credits is at:
						
						http://www.wowinterface.com/downloads/info10204-GTB-1.0.html
						
						I was going to write my own bar routines until i came across
						his excellent library.. why re-invent the wheel as they say!
		
]]--


--		English United Kingdom / United States.


function Natur_Local_enUS()
	
	-- group titles
	PRIMARY_GROUP_TITLE =			"Natur Enemy Castbar";
	HOSTILE_CASTS_TITLE =			"Hostile Casts";
	TF_GAINS_TITLE =				"Buffs";
	TF_DEBUFF_TITLE =				"Debuffs";
	PLR_GAINS_TITLE =				"Player Buffs";
	PLR_DEBUFF_TITLE =				"Player Debuffs";
	TARGET_COOLDOWN_TITLE =			"Targets Cooldowns";
	FRIENDLY_CASTS_TITLE =			"Friendly Casts";
	PLAYER_COOLDOWN_TITLE =			"Player Cooldowns";
	DIMINISH_RETURNS_TITLE =		"Diminish Returns";
	
	-- Announces.
	NATUR_ROGUE_WARNING =			"Warning: Hostile Rogue [%s] nearby, %s detected!!";
	NATUR_APPLIED_SPELL =			"[%s] has been applied to [%s].";						-- [Shackle Undead] has been appled to [Skeletal Warrior].
	NATUR_BREAK_NORMAL =			"[%s] has broken on [%s].";								-- [Polymorph] has broken on [Afterlife].
	NATUR_SECONDS_TXT =				"[%s] breaks free in %d seconds.";						-- [Afterlife] breaks free in 10 seconds.
	NATUR_SPELL_MISSED1 =			"[%s] is %s to [%s].";									-- [Afterlife] is IMMUNE to [Polymorph].
	NATUR_SPELL_MISSED2 =			"[%s] has %s my [%s].";									-- [Afterlife] has RESISTED my [Polymorph].
	NATUR_SPELL_FADED =				"[%s] has faded from you!";
	NATUR_BOSS_FAILURE1 =			"Below is a list of players who failed on the last boss fight and how many times they failed:";
	NATUR_BOSS_FAILURE2 =			"[%s] failed '%s' %d time(s)";
	NATUR_BOSS_FAILURE3 =			"No failures recorded on last fight.";
	NATUR_BOSS_FAILURE3 =			"No failures recorded on last fight.";
	
	-- curse/disease/magic
	NATUR_SPELL_DEBUFF =			"%s is %s with %s";										-- Afterlife is CURSED with Life Drain	
	
	-- Auto Reputation bar.
	NATUR_REPUTATION_PARSE_TXT =	"Reputation with (.+) increased by (%d+).";
	NATUR_AUTOREPBAR =				"|cff00e0ffNatur : |cffffffffReputation bar changed to ";	
		
end;


	--core.lua
	NATUR_WELCOME_MSG1 = "|cff00e0ffNatur Enemy Castbar (r";
	NATUR_WELCOME_MSG2 = ") loaded! Type /natur for options.|cffffffff - Programmed by Michael Boyle c/o Softrix Studios @ www.softrix.co.uk.  You can email me direct on michael.boyle@softrix.co.uk or use the Curse or Wowinterface pages.";
	NATUR_TARGET_CAST = "Casting";

	-- option.xml
	NATUR_OP_BarSettings = "Bar Settings";
	NATUR_OP_Close = "Close";
	NATUR_OP_About = "About";
	NATUR_OP_IgnoreSpell = "Ignore Spell/Ability";
	NATUR_OP_MonitorSpell = "Monitor Spell/Ability";
	NATUR_OP_Title = "Natur Enemy Castbar";
	NATUR_OP_EnableAddon = "Enable Addon";
	NATUR_OP_SplitGroups = "Split Timer Groups";
	NATUR_OP_FriendlyCasts = "Show Friendly Casts";
	NATUR_OP_ShowGains = "Show T/F Gains";
	NATUR_OP_ShowDebuffs = "Show T/F Debuffs";
	NATUR_OP_ShowMyCooldowns = "Show My Cooldowns";
	NATUR_OP_ShowOnMe = "Show Buffs/Debuffs on me";
	NATUR_OP_HostileCasts = "Show Hostile Casts";
	NATUR_OP_ShowTargetCD = "Show Target Cooldowns";
	NATUR_OP_ShowDR = "Show Diminish Returns";
	NATUR_OP_AppliedCC = "Announce applied crowd controls";
	NATUR_OP_AnnounceBrk = "Announce when it breaks";
	NATUR_OP_PlaySound = "Play Sound"; --3
	NATUR_OP_FlashGUI = "Flash GUI"; --3
	NATUR_OP_ShowNoTF = "Show casts without T/F";
	NATUR_OP_ShowAllBuffs = "Show everyones buffs/debuffs on target/focus and not just mine";
	NATUR_OP_CCImmune = "Announce Crowd Control Immune";
	NATUR_OP_RogueWarn = "Display Rogue Warning";
	NATUR_OP_DKDeathgrip = "Play a fun sound when using Deathknight Deathgrip";
	NATUR_OP_PvPDeath = "Play PvP Death Sounds";
	NATUR_OP_MaleSound = "Use Male Sounds";
	NATUR_OP_IncludeNPC = "Include NPC's"; --2
	NATUR_OP_CombosSound = 'Combos "Finish Him" sound';
	NATUR_OP_AutoRepBar = "Auto Reputation Bar";
	NATUR_OP_ShowDRs = "Show Others DR's";
	NATUR_OP_SpellMonitor = "Turn on spell monitoring";

	-- baroptions.lua
	NATUR_BAROP_BARGROUP = {
							"Primary Group",
							"Hostile Casts",
							"Target Gains",
							"Target Debuffs",
							"Cooldowns",
							"Friendly Casts",
							"Crowd Controls (Not Implimented Yet)",
							"Diminish Returns"
							};
	--[[NATUR_BAROP_Beneficial = "Beneficial Buffs";
	NATUR_BAROP_HostileCast = "Hostile Casts";
	NATUR_BAROP_FriendlyCast = "Friendly Casts";
	NATUR_BAROP_Cooldown = "Cooldowns";
	NATUR_BAROP_TargetDebuff = "Targets Debuffs";
	NATUR_BAROP_DiminishReturn = "Diminish Returns";
	NATUR_BAROP_Primary = "Primary (Grouped up)";]]--
	-- baroptions.xml
	NATUR_BAROP_Finished = "Finished";
	NATUR_BAROP_BACK = "<<"; -- &lt;&lt;
	NATUR_BAROP_NEXT = ">>"; -- &gt;&gt;
	NATUR_BAROP_Anchors = "Toggle Anchors";
	NATUR_BAROP_TestTimer = "Toggle Test Timers";
	NATUR_BAROP_FontSize = "Font Size:"; 
	NATUR_BAROP_Texture = "Texture:"; 
	NATUR_BAROP_Height = "Height:"; 
	NATUR_BAROP_Width = "Width:"; 
	NATUR_BAROP_MaxBars = "Max Bars:"; 
	NATUR_BAROP_GroupAdjust = "Choose group to adjust:  ";
	NATUR_BAROP_TimerStack = "Timers Stack Upwards";
	
	
	-- tellme.lua & ignore.lua
	NATUR_MSG_ADDED = "|cff00e0ffNatur : |cffffffffAdded [";
	NATUR_MSG_TITLE = "|cff00e0ffNatur : |cffffffff[";
	NATUR_MSG_DELETE = "|cff00e0ffNatur : |cffffffffDeleted [";
	NATUR_MSG_NotFound = " was not found.";
	
	-- tellme.lua
	NATUR_MONITOR_DEFAULTSPELL = {
									-- default pre-monitored spells and abilities.
									-- priest
									"power word: fortitude",
									"prayer of fortitude",
									"prayer of spirit",
									"divine spirit",
									"prayer of shadow protection",
									"shadow protection",
									"inner fire",
									-- druid
									"mark of the wild",
									"gift of the wild",
									"thorns",
									-- Paladin
									"seal of righteousness", 
									"blessing of might",
									"greater blessing of might",
									"blessing of sanctuary",
									"greater blessing of sanctuary", 
									"blessing of kings",
									"greater blessing of kings", 
									-- Mage
									"arcane intellect",
									"arcane brilliance"
								};
	NATUR_MONITOR_ToList = "] to monitor list.";
	NATUR_MONITOR_Being = " is now being monitored.";
	NATUR_MONITOR_Already1 = "] is already monitored.";
	NATUR_MONITOR_Already2 = " is already monitored.";
	NATUR_MONITOR_FromList = "] from monitored list.";
	NATUR_MONITOR_Longer = " is now longer monitored.";
	-- tellme.xml
	NATUR_MONITOR_Add = "Add";
	NATUR_MONITOR_Remove = "Remove";
	NATUR_MONITOR_Finished = "Finished";
	NATUR_MONITOR_Spell = "Spell/Ability:";
	NATUR_MONITOR_Tooltip = "This screen allows you to setup spells or abilities that you would like to be informed when they have expired or have been dispelled from you.  Enter the spell or ability then click add or remove.";

	-- ignore.lua
	NATUR_IGNORED_DEFAULTSPELL = {
									-- default pre-ignored spells and abilities.
									-- priest
									"power word: fortitude",
									"prayer of fortitude",
									"prayer of spirit",
									"divine spirit",
									"prayer of shadow protection",
									"shadow protection",
									"inner fire",
									-- druid
									"mark of the wild",
									"gift of the wild",
									"thorns",
									-- Paladin
									"seal of righteousness", 
									"blessing of might",
									"greater blessing of might",
									"blessing of sanctuary",
									"greater blessing of sanctuary", 
									"blessing of kings",
									"greater blessing of kings", 
									"arcane intellect", 
									-- global
									"well fed",
									"pirate costume"
								};
	NATUR_IGNORE_ToList = "] to timer ignore list.";
	NATUR_IGNORE_Being = " is now being ignored.";
	NATUR_IGNORE_Already1 = "] is already ignored.";
	NATUR_IGNORE_Already2 = " is already ignored.";
	NATUR_IGNORE_FromList = "] from timer ignore list.";
	NATUR_IGNORE_Longer = " is now longer ignored.";
	-- ignore.xml
	NATUR_IGNORE_Add = "Ignore";
	NATUR_IGNORE_Remove = "Remove";
	NATUR_IGNORE_Finished = "Finished";
	NATUR_IGNORE_Spell = "Spell/Ability:";
	NATUR_IGNORE_Tooltip = "Enter the spells full name or ability you wish to be ignored or removed from the ignore list then press the appropriate button to complete the process.";
	
	
	-- credits.xml
	-- NATUR_CREDITS_MSG1 = "Big hellos go out to Daxina, Triana, Nav, and the rest of the Unstoppable Force guild.";
	NATUR_CREDITS_MSG2 = "This version of Natur Enemy Castbar is developed by one of the developers at Softrix Studios in his spare time, and is a complete rewrite based on the original addon by Naturfreund.  Id like to also credit Krycek for the additional work on the spells.";
	NATUR_CREDITS_MSG3 = "Natur Enemy Castbar";
	NATUR_CREDITS_MSG4 = "You can also find me in game on alliance called Afterlife and Amarantine on the Aszune (EU) Realm.";
	NATUR_CREDITS_MSG5 = "Please use the Wowinterface or Curse pages for support.";
	NATUR_CREDITS_MSG6 = "<< Back";
	
	-- Groups\Buffs.lua & DeBuffs
	NATUR_PLAYERSBUFF = "  (Player)";
	-- Groups\cooldowns.lua
	NATUR_SKILLCD = "'s CD)";


	